package com.example.demo.service

import com.example.demo.vo.*


interface BedService {

    fun getBedCardInfo(deptCode: String, bedCode: String): BedInfoVo?

    // 科室表
    fun getDeptList(): List<DeptVo>?

    // 床位表
    fun getBedList(deptCode: String): List<BedVo>?
    fun editBedList(deptCode: String)

    fun getBindToBed(
            deptCode: String?,
            deptName: String?,
            bedCode: String?,
            bedName: String?,
            deviceNo: String?,
            deviceMac: String?,
            deviceIp: String?,
            appVersion: String?,
            deviceType: String?
    ): Int?

    fun getDeptDiviceNo(deptCode: String): DeptDeviceNoVO?
    fun getListHospital(): List<HospitalVo>?
    fun getDistrict(): List<DistrictVo>?
    fun getListRoom(deptCode: String, districtCode: String): List<RoomVo>?
    fun getDeptInfo(deptCode: String):DeptVo?

    fun getTermometerValue(patientId:Int): TemperatureVo?

    fun addTermometerValue(
        patientId: Int?,
        patientName: String?,
        deptId: Int?,
        deptName: String?,
        bedId: Int?,
        bedName: String?,
        date: String?,
        temperature: String?
    ): Int?



    fun getTermometerValueList(patientId: Int): List<TemperatureVo>?

//    fun addPressureValue(
//        patientId: Int?,
//        patientName: String?,
//        deptId: Int?,
//        deptName: String?,
//        bedId: Int?,
//        bedName: String?,
//        date: String?,
//        highPress: String?,
//        lowPress: String?,
//        heartRate: String?
//    ): Int?
//

    fun getPressureValue(patientId: Int): PressureVo?
    fun getPressureValueList( patientId: Int): List<PressureVo>?


//    fun getBoardMessage(deptId: Int?, messageType: String?, start: Int, end: Int): List<BoardMessageVo>?
//
    fun getFeeList(patientId: String): List<FeeVo>?


    fun getDoctorList():List<DoctorVo>?
    fun getNurseList():List<NurseVo>?

    fun getDoctorOrderList(patientId: String, page:Int):List<DoctorOrderVo>?

}